package com.gxa.meiye.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 美疗项目
 * </p>
 *
 * @author chen
 * @since 2022-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_project")
@Alias("Projectss")
public class Projects implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("description")
    private String described;

    private String price;

    private String image;

    private Integer therapistId;

    /**
     * 项目时长
     */
    private Integer time;

    /**
     * 门店和美疗师是同一级别的只能有一个存在
     */
    private Integer shopId;

    private Date createdTime;

    private Integer status;



}
